<?php defined('APP_PATH') or exit('Access Denied');?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理组列表</title>
<link rel="stylesheet" type="text/css" href="vonuo/static/css/vonuo.css">
<script type="text/javascript" src="vonuo/static/js/jquery.min.js"></script>
<script type="text/javascript" src="vonuo/static/js/tablecolor.js"></script>
</head>

<body>
<div class="gs_wraper gs_p_l0">
	<div class="tab_box">
		<table width="100%" style="margin-top:10px;" border="0" cellpadding="0" cellspacing="0"  class="common_table">
			<tr>
				<th width="60"><input type="checkbox" onclick="$('.all_check').attr('checked',$(this).attr('checked'))" class="all_check" /><label>编号</label></th>
				<th width="100">管理组名称</th><th width="100">管理组标识</th><th width="80">管理组设置</th>
			</tr>
			<?php foreach($group as $row){?>
			<tr>
				<td><input name="id[]" type="checkbox" value="<?php echo $row['id'];?>" class="all_check" /><label><?php echo $row['id'];?></label></td>
				<td><?php echo $row['name'];?></td><td><?php echo $row['code'];?></td>
				<td>
					<a href="<?php echo spUrl('group','upd',array('id'=>$row['id']));?>">[编辑]</a>
					<a href="<?php echo spUrl('group','del',array('id'=>$row['id']));?>" onclick="return confirm('确定删除？');">[删除]</a>
					<a href="<?php echo spUrl('menu','conf',array('id'=>$row['id']));?>">[菜单]</a>
					<a href="<?php echo spUrl('aacl','conf',array('id'=>$row['id']));?>">[权限]</a>
				</td>
			</tr>
			<?php }?>
			<tr class="bottom">
				<td colspan="4" align="left" valign="middle"></td>
			</tr>
  		</table>
	</div>
</div>
</body>
</html>